/*
 * @Author: wang_changtan 2196064304@qq.com
 * @Date: 2024-02-20 08:18:34
 * @LastEditors: wang_changtan 2196064304@qq.com
 * @LastEditTime: 2024-02-20 13:37:54
 * @FilePath: /web_music_app_vue3_vite_ts/src/main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from 'vue'
// 引入App组件
import App from './App.vue'

// 引入element ui
import ElementPlus from 'element-plus'
// 引入element ui的样式
import 'element-plus/dist/index.css';
import './default.less';
import '@/assets/style/style.less';
// 引入路由器
import router from './router'
//引入仓库
import store from './store'

const app = createApp(App);

app.use(ElementPlus);
app.use(router);
app.use(store);

// 如果您正在使用CDN引入，请删除下面一行。
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

app.mount('#app')
